package com.wentao.thisFacade.common.enums.business;

import com.wentao.thisCommon.common.EnumsBase;

/**
 * @Auther: ZhaiYanTao
 * @Date: 2020/3/25 17:29
 * @Description: 用户角色枚举
 */
public enum RoleCodeEnum implements EnumsBase {
    MANAGEMENT("M", "后台管理"),
    HOTEL("H", "酒店"),
    PARTNER_SALESMAN("P", "合伙人/业务员"),
    CONSUMABLES_SELLER("C", "耗材商家");

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    private String code;
    private String message;

    RoleCodeEnum(String code, String msg) {
        this.code = code;
        this.message = msg;
    }

}